<template>
  <p>page01</p>
  <button @click="clickHandle">点击</button>
</template>

<script setup>
import axios from "axios";
function clickHandle() {
    // fetch("/api/index.html")
    //     .then(res => res.text())
    //     .then(res => console.log(res))

    axios.get("/api/package.json")
        .then(res => console.log(res))
    axios.get("/api/index.html")
        .then(res => console.log(res))

}
</script>
<script>
export default {
  data() {
    return {};
  },
};
</script>

<style>
</style>